<?php
class Heading extends CoreTagWithLang {
	protected $align;
	protected $largeorder;

	public function __construct($_largeorder) {
		parent::__construct("h".(int)$_largeorder);
		$this->align="";
		$this->largeorder=$_largeorder;
		$this->attributeNames=array_merge($this->attributeNames,array('align','largeorder'));
		$this->attributeValues=array_merge($this->attributeValues,array('',$_largeorder));
	}

	public function setAlign($_align) {
		$this->align=(string)$_align;
		$this->setAttribute('align',$_align);
	}
	public function getAlign() {
		return $this->align;
	}
	public function setLargeOrder($_largeorder) {
		$this->largeorder=(string)$_largeorder;
		$this->setAttribute('largeorder',$_largeorder);
	}
	public function getLargeOrder() {
		return $this->largeorder;
	}

}
?>